Technical Q&As
QD3D 64 - Making Objects Invisible (11-July-97)
Q
Is it possible to include an object in the QuickDraw 3D rendering loop, but have it invisible?
A
If your object is in a group, you can turn the groups drawable flag off
(kQ3DisplayGroupStateMaskIsDrawn
, see page 10-6 of
"3D Graphics programming
with QD3D") so the objects in the group won't be drawn.
Another technique is to set the origin of the object to a distant location, so that it
is not in the field of view.
Alternately, you can make the object transparent by setting the transparency color to
whatever the background color is.
-- Scott Kuechle
Worldwide Developer Technical Support
Technical Q&As
Previous Question | Contents |
Next Question
To contact us, please use the Contact Us page.